package com.tiny.mirror.service.product.common.config.bean;

import java.util.Set;
import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;

@Setter
@Getter
@ConfigurationProperties(prefix = "redis")
public class RedisConfigBean {

  private String password;
  private Set<FakeHostAndPort> hosts;

  @Getter
  @Setter
  public static class FakeHostAndPort {

    private String host;
    private int port;
  }
}
